﻿using AgvDispatchSystemWpf.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AgvDispatchSystemWpf.Model
{
    public class AgvModel:NotifyPropertyBase
    {        
        public AgvControlDataModel ControlData { get; set; } = new AgvControlDataModel();

        //public AgvStateDataModel StateData { get; set; } = new AgvStateDataModel();

        private AgvStateDataModel _agvStateDataModel = new AgvStateDataModel();

        public AgvStateDataModel StateData
        {
            get { return _agvStateDataModel; }
            set
            {
                _agvStateDataModel = value;
                RaisePropertyChanged(nameof(StateData));
            }
        }

    }
}
